package com.es.dto;

import java.util.List;

public class Product {

    private int id;
    private String name;
    private String desc;
    private int price;
    private List<String> tags;
    private String date;

    public Product(int id, String name, String desc, int price, List<String> tags, String date) {
        this.id = id;
        this.name = name;
        this.desc = desc;
        this.price = price;
        this.tags = tags;
        this.date = date;
    }

    public Product() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}
